home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 1⁄5⁄90 / 0327-TWindow.IWindow bug?-Jan90 < prev    next >
Encoding:
Text File  |  1990-01-05  |  743 b   |  33 lines  |  [TEXT/GEOL]

  1. Item    8813162                         4-Jan-90        18:44
  2.  
  3. From:   D2022                           Strata, Gary Bringhurst,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    TWindow.IWindow bug?
  8.  
  9.  
  10. Isn't MacApp 2.0b9 in error where, in the TWindow.IWindow method, the window
  11. procID is supposedly saved off with:
  12.  
  13.  fProcID := GetWRefCon(itsWmgrWindow);
  14.    SetWRefcon(itsWmgrWindow, LONGINT(SELF));
  15.  
  16.  
  17. Shouldn't this code actually read:
  18.  
  19.    IF TrapExists(_GetWVariant) THEN
  20.    fProcID := GetWVariant(fWmgrWindow)
  21.    ELSE
  22.    fProcID := BAND($0F, BSR(LONGINT(WindowPeek(fWmgrWindow)^.windowDefProc),
  23. 24));
  24.    SetWRefcon(itsWmgrWindow, LONGINT(SELF));
  25.  
  26.  
  27. Is this an error???
  28.  
  29. Gary L. Bringhurst
  30. Strata Inc.
  31. D2022
  32.  
  33.